//
//  MPBankCell.m
//  MarkPlatform
//
//  Created by xiao6 on 2017/12/26.
//  Copyright © 2017年 AT. All rights reserved.
//

#import "MPBankCell.h"

@interface MPBankCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@end

@implementation MPBankCell

+ (CGFloat)cellHeight {
    return 50.f;
}
- (void)setModel:(MPBankModel *)model {
    _model = model;
    self.titleLabel.text = _model.name;
    [self.iconView sd_setImageWithURL:[NSURL URLWithEncodeString:_model.url]];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
